package com.ruoyi.mng.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 渠道管理对象 hz_cha_channel
 * 
 * @author chenqiang
 * @date 2023-04-28
 */
public class HzChaChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 渠道ID */
    private Long channelId;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    private String channelName;

    /** 渠道编码 */
    @Excel(name = "渠道编码")
    private String channelCode;

    /** 渠道服务地址 */
    private String serverUrl;

    /** 渠道商户号；渠道给平台分配的商户号 */
    @Excel(name = "渠道商户号；渠道给平台分配的商户号")
    private String chaMerId;

    /** 渠道给平台分配的密钥值 */
    private String chaKey;

    /** 平台给渠道分配的密钥值 */
    private String plaKey;

    /** 渠道分配给平台的证书文件地址 */
    private String chaKeyUrl;

    /** 平台分配给渠道的证书文件地址 */
    private String plaKeyUrl;

    /** 渠道分配给平台的证书文件PWD */
    private String chaKeyPwd;

    /** 平台分配给渠道的证书文件PWD */
    private String plaKeyPwd;

    /** 平台异步通知地址 */
    private String notifyUrl;

    /** 平台同步跳转地址 */
    private String returnUrl;

    /** 启用状态：1--启用 2暂停 -99 注销 */
    @Excel(name = "启用状态：1--启用 2暂停 -99 注销")
    private Integer status;

    /** 备注1 */
    private String remark1;

    /** 备注2 */
    private String remark2;

    /** 备注3 */
    private String remark3;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setChannelId(Long channelId) 
    {
        this.channelId = channelId;
    }

    public Long getChannelId() 
    {
        return channelId;
    }
    public void setChannelName(String channelName) 
    {
        this.channelName = channelName;
    }

    public String getChannelName() 
    {
        return channelName;
    }
    public void setChannelCode(String channelCode) 
    {
        this.channelCode = channelCode;
    }

    public String getChannelCode() 
    {
        return channelCode;
    }
    public void setServerUrl(String serverUrl) 
    {
        this.serverUrl = serverUrl;
    }

    public String getServerUrl() 
    {
        return serverUrl;
    }
    public void setChaMerId(String chaMerId) 
    {
        this.chaMerId = chaMerId;
    }

    public String getChaMerId() 
    {
        return chaMerId;
    }
    public void setChaKey(String chaKey) 
    {
        this.chaKey = chaKey;
    }

    public String getChaKey() 
    {
        return chaKey;
    }
    public void setPlaKey(String plaKey) 
    {
        this.plaKey = plaKey;
    }

    public String getPlaKey() 
    {
        return plaKey;
    }
    public void setChaKeyUrl(String chaKeyUrl) 
    {
        this.chaKeyUrl = chaKeyUrl;
    }

    public String getChaKeyUrl() 
    {
        return chaKeyUrl;
    }
    public void setPlaKeyUrl(String plaKeyUrl) 
    {
        this.plaKeyUrl = plaKeyUrl;
    }

    public String getPlaKeyUrl() 
    {
        return plaKeyUrl;
    }
    public void setChaKeyPwd(String chaKeyPwd) 
    {
        this.chaKeyPwd = chaKeyPwd;
    }

    public String getChaKeyPwd() 
    {
        return chaKeyPwd;
    }
    public void setPlaKeyPwd(String plaKeyPwd) 
    {
        this.plaKeyPwd = plaKeyPwd;
    }

    public String getPlaKeyPwd() 
    {
        return plaKeyPwd;
    }
    public void setNotifyUrl(String notifyUrl) 
    {
        this.notifyUrl = notifyUrl;
    }

    public String getNotifyUrl() 
    {
        return notifyUrl;
    }
    public void setReturnUrl(String returnUrl) 
    {
        this.returnUrl = returnUrl;
    }

    public String getReturnUrl() 
    {
        return returnUrl;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRemark1(String remark1) 
    {
        this.remark1 = remark1;
    }

    public String getRemark1() 
    {
        return remark1;
    }
    public void setRemark2(String remark2) 
    {
        this.remark2 = remark2;
    }

    public String getRemark2() 
    {
        return remark2;
    }
    public void setRemark3(String remark3) 
    {
        this.remark3 = remark3;
    }

    public String getRemark3() 
    {
        return remark3;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("channelId", getChannelId())
            .append("channelName", getChannelName())
            .append("channelCode", getChannelCode())
            .append("serverUrl", getServerUrl())
            .append("chaMerId", getChaMerId())
            .append("chaKey", getChaKey())
            .append("plaKey", getPlaKey())
            .append("chaKeyUrl", getChaKeyUrl())
            .append("plaKeyUrl", getPlaKeyUrl())
            .append("chaKeyPwd", getChaKeyPwd())
            .append("plaKeyPwd", getPlaKeyPwd())
            .append("notifyUrl", getNotifyUrl())
            .append("returnUrl", getReturnUrl())
            .append("status", getStatus())
            .append("remark1", getRemark1())
            .append("remark2", getRemark2())
            .append("remark3", getRemark3())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
